import {fetch,post}  from "@/util/http.js";

export  function getList(parentId = 0){
    return fetch('/master/materialCategories/listByParentId/'+ parentId);
}
export function create (data){
    return post("/master/materialCategories",data)
}